using System;
using System.ServiceModel;
using System.Data;
using System.Threading;
using ESBSimpleSamples.Services.WCF.Contracts;
using ESBSimpleSamples.ServiceComponents.Encoding;

namespace ESBSimpleSamples.Services.WCF
{
    [ServiceBehavior(Namespace = @"http://ESBSimpleSamples.BizTalk.Schemas/1.0/")]
    public class EncodingService : IEncodingService
    {
        public byte[] GetASCIICode(string Character)
        {
            return new ASCIIService().GetCharacterCode(Character);
        }

        public byte[] GetUnicodeCode(string Character)
        {
            return new UnicodeService().GetCharacterCode(Character);
        }

    }

}

